home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 201-220 / scopedisk211 / climax / makefile < prev    next >
Encoding:
Makefile  |  1995-03-20  |  2.1 KB  |  80 lines

  1. # this here is the makefile for CLImax using Aztec C and Aztec assembler.
  2. # also for FixCLI, simple and fancy versions.  I use the PD Make on fish 69.
  3.  
  4. PRECOMP = -hi w:II
  5. IPRECOMP = -hi w:INTU
  6.  
  7. # that's the aztec 5.0 version.  for 3.6 replace "-hi " with "+i".  If you
  8. # don't want to make precompiled header files just use "PRECOMP =" and
  9. # likewise for IPRECOMP.  II can be precompiled from libraries/dosextens.h
  10. # and Paul.h, and INTU is the contents of II plus intuition/intuitionbase.h,
  11. # and clib/intuition_protos.h and the intuition pragmas, if you have them.
  12. # With 3.6 INTU could contain ONLY intuition and then you could set IPRECOMP
  13. # to be +iII +iINTU, but 5.0 refuses to accept more than one -hi option!
  14.  
  15. SDBCMD = -BS -s0f0n
  16. # for aztec 3.6 use SDBCMD = -N
  17.  
  18. d : ram:Bugax
  19.  
  20. c : ram:CLImax
  21.  
  22.  
  23. # Here's the one for debugging with SDB or DB:
  24.  
  25. ram\:Bugax : bugax.o bud.o purify.o
  26.     ln -G -W +q -m +a -o ram:Bugax bugax.o bud.o purify.o -lc
  27.     @protect ram:bugax +p
  28.     @execute replesident ram:Bugax
  29.     -@dr ram:bugax
  30.  
  31. # and here's the finished version:
  32.  
  33. ram\:CLImax : climax.o bud.o purify.o
  34.     ln +q -m +a -o ram:CLImax climax.o bud.o purify.o -lc
  35.     @protect ram:climax +p
  36.     @execute replesident ram:CLImax
  37.     -@dr ram:climax
  38.  
  39. # the +a option for ln is NECESSARY.
  40. # Those without the Dr command can use List or just erase those lines.
  41.  
  42. purify.o : purify.a
  43.     as purify.a
  44.  
  45. # Purify.a is based on resident.asm written by Olaf Bartel, available on Fish
  46. # disk 396.  His version doesn't work.  Mine does.
  47.  
  48. climax.o : climax.c
  49.     cc $(IPRECOMP) climax
  50.  
  51. bugax.o : climax.c
  52.     cc $(SDBCMD) $(IPRECOMP) -d DEBUG -o bugax.o climax
  53.  
  54. bud.o : bud.a
  55.     as -n bud.a
  56.  
  57.  
  58. # this is a different hack that happened to be in the same directory for
  59. # historical reasons:
  60.  
  61. f : ram:FixCLI
  62. fw : ram:FixCLI-W
  63.  
  64. ram\:FixCLI : t:fixcli.o
  65.     ln +q -m -o ram:FixCLI t:fixcli.o -lc
  66.     @protect ram:fixcli +p
  67.     -@dr -l ram:fixcli
  68.  
  69. ram\:FixCLI-W : t:fixcli-w.o
  70.     ln +q -m -o ram:FixCLI-W t:fixcli-w.o -lc
  71.     @protect ram:fixcli-w +p
  72.     -@dr -l ram:fixcli-w
  73.  
  74. t\:fixcli.o : fixcli.c
  75.     cc $(PRECOMP) -o t:fixcli.o fixcli.c
  76.  
  77. t\:fixcli-w.o : fixcli.c
  78.     cc $(IPRECOMP) -dWINDOWPTR -o t:fixcli-w.o fixcli.c
  79.  
  80.